<?php

// VUE ARTICLE
for ($x=0; $x<count($this->vue); $x++) {
?>
<form class="form-horizontal" role="form" method="POST" action="?composant=articles&action=update&idArticle=<?php echo $this->vue[$x]["ID"]; ?>" enctype="multipart/form-data">
    <input name="idArticle" type="hidden" value="<?php echo $id; ?>">
        <div class="table-responsive col-md-3 .col-md-offset-3">
            <table class="table table-striped">
                <tr>
                    <td>Titre : </td>
                    <td colspan="2">
                        <input type="text" name="titre" value="<?php echo $this->vue[$x]["titre"]; ?>">
                        <div><textarea rows="30" cols=150" name="contenu"><?php echo $this->vue[$x]["contenu"]; ?></textarea></div>
                    </td>
                </tr>
                    

        </table>
        <button type="submit" method="POST" class="btn btn-primary col-lg-5 col-lg-offset-2" name="envoi">Envoyer</button>
        </div>

</form>
<?php    
}